<template>
  <dv-scroll-ranking-board :config="config" style="width:100%;height:100%"/>
</template>

<script>
export default {
  name: "scrollRankingBoard",
  computed: {
    config: function () {
      return {
        data: this.info,
        rowNum: this.rowNum
      }
    }
  },
  props: {
    info: {
      type: Array,
      default: () => {
        return [
          {
            name: '周口',
            value: 55
          },
          {
            name: '南阳',
            value: 120
          },
          {
            name: '西峡',
            value: 78
          },
          {
            name: '驻马店',
            value: 66
          },
          {
            name: '新乡',
            value: 80
          },
          {
            name: '信阳',
            value: 45
          },
          {
            name: '漯河',
            value: 29
          }
        ]
      }
    },
    rowNum: {
      type: Number,
      default: 4
    },
    adcodeInfo: {
      type: Object,
      default: () => {
        return {
          provinceId: undefined,
          cityId: undefined
        }
      }
    },
    riskIndex: {
      type: Number,
      default: undefined
    }
  },
}
</script>

<style scoped>

</style>